let addressData = [{
    value: 'zhejiang',
    label: 'Zhejiang',
    children: [{
        value: 'hangzhou',
        label: 'Hangzhou',
        children: [{
            value: 'xihu',
            label: 'West Lake',
        }],
    }],
}, {
    value: 'jiangsu',
    label: 'Jiangsu',
    children: [{
        value: 'nanjing',
        label: 'Nanjing',
        children: [{
            value: 'zhonghuamen',
            label: 'Zhong Hua Men',
        }],
    }],
}];

let companyData = [{
    name: '阿里',
    value:'阿里'
},{
    name: '腾讯',
    value:'腾讯'
},{
    name: '网易',
    value:'网易'
}];

module.exports = {

    [ `GET /address/list` ] (req, res) {
        res.status(200).json({
            success: true,
            data: addressData,
        })
    },

    [ `GET /company/list` ] (req, res) {
        res.status(200).json({
            success: true,
            data: companyData,
        })
    },
};